// 用户管理
import { getapi,postapi } from "@/utils/request";

export const productList = (data) => getapi("/console/product/list", data);

export const productDetail = (id) => getapi(`/console/product/detail/${id}`);
export const productUpdate = (data) => postapi(`/console/product/cloudProductUpdate` , data);
export const productAdd = (data) => postapi(`/console/product/add` , data);